package com.ssm.juc.sync;

public class StringBufferTest {

    public static void main(String[] args) {
        StringBufferTest stringBufferTest = new StringBufferTest();
        stringBufferTest.append();
    }

    StringBuffer buffer = new StringBuffer();

    /**
     * 锁粗化
     */
    public void append() {
        buffer.append("aaa").append(" bbb").append(" ccc");
    }

}
